﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YoProgramo.Domain.Core.Interfaces;

namespace YoProgramo.Domain.Core.Entities
{
    public class Visit<TTentity> : EntityBase<long>, IVisit<TTentity> , IHasAssignedId<long> {
        #region IVisit<TTentity> Members

        public string Ip {
            get;
            set;
        }

        public DateTime DateVisit {
            get;
            set;
        }

        public IUser ByUser {
            get;
            set;
        }

        public TTentity VisitFor {
            get;
            set;
        }

        public string Referrer {
            get;
            set;
        }

        #endregion

        public void SetAssignedIdTo(long assignedId)
        {
            throw new NotImplementedException();
        }

        public override int GetHashCode()
        {
            throw new NotImplementedException();
        }
    }
}